#ifndef SHADER_H_
#define SHADER_H_

#include <gl/glew.h>
#include <gl/wglew.h>

class Shader
{
public:
	Shader(void);
	~Shader(void);

	GLuint v,f,f2,p;

	void GlewInit();
	void SetShaders(char* v_shader, char* f_shader);

	void printShaderInfoLog(GLuint obj);
	void printProgramInfoLog(GLuint obj);

	char* textFileRead(char *fn);
	int textFileWrite(char *fn, char *s);
};



#endif // SHADER_H_